import os

libs = {"xlrd==1.2", "numpy", "matplotlib", "pillow", "sklearn", "requests",
        "jieba", "beautifulsoup4", "wheel", "networkx", "sympy",
        "pyinstaller", "django", "flask", "werobot", "pyqt5",
        "pandas", "pyopengl", "pypdf2", "docopt", "pygame", "inline", "seaborn"}
try:
    for lib in libs:
        os.system("pip install " + lib)
    print("successful")
except:
    print("failed somehow")

# 因为用的是python3.9 32位版本
# 下载地址：https://www.lfd.uci.edu/~gohlke/pythonlibs/#wordcloud
# pip install wordcloud-1.8.1-cp39-cp39-win32.whl
